package com.michale.common.properties;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Michale
 * @apiNote 用户密码信息
 */
@Data
@Component
@ConfigurationProperties(prefix = "user.password")
public class PassWordProperties {

    @ApiModelProperty("密码最大错误次数")
    private int maxRetryCount;

    @ApiModelProperty("密码锁定时间（默认10分钟）")
    private int lockTime;
}
